projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b93ca2
)
radiobutton: build the new state flags from the previous flags on click
author
Cosimo Cecchi
<cosimoc@gnome.org>
Fri, 18 Mar 2011 19:00:11 +0000
(15:00 -0400)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Fri, 18 Mar 2011 19:16:01 +0000
(15:16 -0400)
This fixes e.g. sensitivity issues with GtkRadioButton on state update.
https://bugzilla.gnome.org/show_bug.cgi?id=645172
gtk/gtkradiobutton.c
patch
|
blob
|
history
diff --git
a/gtk/gtkradiobutton.c
b/gtk/gtkradiobutton.c
index 31651962ecd348c7ec335fd26e096da49e1d5381..590a085e5444cb0a32b74198e80e2f2559f07a43 100644
(file)
--- a/
gtk/gtkradiobutton.c
+++ b/
gtk/gtkradiobutton.c
@@
-800,6
+800,8
@@
gtk_radio_button_clicked (GtkButton *button)
g_object_ref (GTK_WIDGET (button));
+ new_state = gtk_widget_get_state_flags (GTK_WIDGET (button));
+
if (gtk_toggle_button_get_active (toggle_button))
{
tmp_button = NULL;